﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace ChinaSoft.Web.Model_tb_MidSoft_Users
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int UsersId=(Convert.ToInt32(strid));
					ShowInfo(UsersId);
				}
			}
		}
		
	private void ShowInfo(int UsersId)
	{
		ChinaSoft.BLL.BLL_tb_MidSoft_Users bll=new ChinaSoft.BLL.BLL_tb_MidSoft_Users();
		ChinaSoft.Model.Model_tb_MidSoft_Users model=bll.GetModel(UsersId);
		this.lblUsersId.Text=model.UsersId.ToString();
		this.lblUserAccount.Text=model.UserAccount;
		this.lblUserPassword.Text=model.UserPassword;
		this.lblUserName.Text=model.UserName;
		this.lblUserImgFolder.Text=model.UserImgFolder;
		this.lblUserImgPath.Text=model.UserImgPath;
		this.lblCompany.Text=model.Company;
		this.lblDepartMent.Text=model.DepartMent;
		this.lblSex.Text=model.Sex;
		this.lblBirthDay.Text=model.BirthDay.ToString();
		this.lblTel.Text=model.Tel;
		this.lblDuty.Text=model.Duty;
		this.lblCreateTime.Text=model.CreateTime.ToString();
		this.lblCreateUserId.Text=model.CreateUserId.ToString();
		this.lblState.Text=model.State.ToString();

	}


    }
}
